/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


      google.load("visualization", "1", {packages:["corechart"]});
      google.setOnLoadCallback(drawChart);
      function drawChart() {
         chart = new google.visualization.BarChart(document.getElementById('chart_div'));
     
      }

      function Relatorio(lista) {
          var data = google.visualization.arrayToDataTable(lista);

        var options = {
          title: 'Desempenho do Aluno',
          vAxis: {title: 'Avaliação ',  titleTextStyle: {color: 'red'}}
        };

   
        chart.draw(data, options);
      }